package com.cfoco.service;

import org.apache.poi.ss.formula.functions.Hyperlink;
import org.apache.poi.ss.usermodel.CreationHelper;
import org.omg.CosNaming.NamingContextExtPackage.StringNameHelper;
import org.springframework.jdbc.support.nativejdbc.OracleJdbc4NativeJdbcExtractor;

import java.util.Map;

/**
 * @author syd
 * @create 2020-09-07 22:10
 */
public interface IExcelDataHandler<T> {

    public Object exportHandler(T obj,String name,Object value);

    public String[] getNeedHandlerFields();

    public Object importHandler(T obj,String name,Object value);

    public void setHandlerFields(String[] fields);

    public void setMapValue(Map<String,Object> map, String originKey,Object value);

    public Hyperlink getHyperlink(CreationHelper creationHelper, T obj, String name, Object value);


}
